/*
 *  Copyright 2025 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
@import '../../../styles/variables.less';

.entity-search-settings {
  background-color: @grey-9;
}

.entity-search-settings-header {
  margin: 20px;
  border: 1px solid @border-color-1;
  border-radius: 10px;

  .entity-icon {
    svg {
      fill: transparent;
      font-size: 55px;
    }
  }
}

.entity-search-settings-content {
  margin: 20px;
  height: calc(100vh - 250px);
  overflow: hidden;
}

.settings-left-panel {
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.configuration-container {
  width: 100%;
  padding: 0 20px 20px 20px;
  max-height: 45vh;
  overflow-y: auto;

  .config-section-content {
    border: 1px solid @border-color-4;
  }
}

.custom-select .ant-select-selector {
  padding-left: 0;
  padding-right: 0;
}

.preview-section {
  border: 1px solid @border-color-1;
  flex: 2;
}

.entity-collapse-container {
  width: 100%;

  .ant-collapse-item {
    margin-bottom: 16px;
    border: 1px solid @border-color-5;
    border-radius: 12px;
    overflow: hidden;

    &:last-child {
      margin-bottom: 0;
    }

    > .ant-collapse-header {
      background-color: @white;
      padding: 16px;
      display: flex;
      align-items: center;

      .ant-collapse-header-text {
        width: 100%;
      }
    }

    > .ant-collapse-content {
      > .ant-collapse-content-box {
        padding: 0;
      }
    }
  }
}

.term-boost-card {
  min-width: 100%;
}
